import {
    http4
} from "@/service/axios";


// 获取设备诱导屏列表接口
export function getGuideList(data) {
    return http4.post({
        url: "/user/guide/screen/list/page",
        data,
    });
}

// 设备诱导屏新增接口
export function getAddGuide(data) {
    return http4.post({
        url: "/user/guide/screen/add",
        data,
    });
}

// 设备诱导屏编辑接口
export function getEditGuide(data) {
    return http4.post({
        url: "/user/guide/screen/edit",
        data,
    });
}

// 移除设备诱导屏接口
export function getDeleteGuide(data) {
    return http4.post({
        url: `/user/guide/screen/remove/${data}`,
        data,
    });
}

// 设备诱导屏修改状态接口
export function getStatusGuide({
    status,
    data
}) {
    return http4.post({
        url: `/user/guide/screen/edit/${status}`,
        data,
    });
}

// 诱导屏下载模版
export function getTemplateGuide(data) {
    return http4.get({
        url: "/user/guide/screen/import/template/download",
        data,
        responseType: "blob",
    });
}

// 诱导屏导出
export function getExportGuide(data) {
    return http4.post({
        url: "/user/guide/screen/export",
        data,
        responseType: "blob",
    });
}